{include_core file="lib/header.html" title="报名 - newglass 100台免费送"}
{include_core file="lib/top_nav.html"}
{load_css file="css/idangerous.swiper.css"}
{load_css file="css/activity.css"}
{load_js file="idangerous.swiper-2.1.min.js"}

<div class="warp_all warp_user">
      <div class="total_inner">
        <div class="total_header"><img src="{$smarty.const.STATIC_URL}/images/activity/header.png"/></div>
        <div class="total_btn">
          <div class="btn_1"><a href="javascript:void(0);"></a></div>
          <div class="btn_2">已有<span>{$newglass_count}</span>人申请</div>
        </div>

        <div class="table">
          <div id="fn_box">我要报名</div>
          <form action="{AnUrl('events/newglass/newglass_apply_add')}" method="post" class="js_apply_form">
          <div class="tabel_box1">
            <label class="label1">
              <span>* 姓名 :</span>
              <input type="text" name="info[name]" class="js_apply_name"/>
            </label>
            <label class="label2">
              <span>* 联系电话 :</span>
              <input type="text" name="info[mobile]" class="js_apply_mobile"/>
            </label>
            <label class="label3">
              <span>* 收货地址 :</span>
              <input type="text" name="info[address]" class="js_apply_address"/>
            </label>
          </div>

          <div class="table_txt">填写更多信息更容易抽中哦！</div>
          <div class="tabel_box1">
            <label class="label2">
              <span>职业：</span>
              <input type="text" name="info[job]"/>
            </label>
            <label class="label1">
              <span>年龄：</span>
              <input type="text" name="info[age]"/>
            </label>
            <label class="label4">
              <span>微信号：</span>
              <input type="text" name="info[wxnumber]"/>
            </label>
            <label class="label4">
              <span>微博号：</span>
              <input type="text" name="info[sinanumber]"/>
            </label>
          </div>

          <div class="tabel_box2">
            <label>
              <span>曾参与NBD线下活动：</span>
              <textarea name="info[activity]"></textarea>
            </label>
            <label>
              <span>原创的科技数码类文章（链接）：</span>
              <textarea name="info[essay]"></textarea>
            </label>
            <label>
              <span>对智能眼镜产品和行业的看法：</span>
              <textarea name="info[viewpoint]"></textarea>
            </label>
            <label>
              <span>其他可以证明自己专业性的内容：</span>
              <textarea name="info[professional]"></textarea>
            </label>
          </div>
          </form>
        </div>

        <div class="table_btn js_apply_btn"><a href="javascript:void(0);"><img src="{$smarty.const.STATIC_URL}/images/activity/btn.png"/></a></div>
      </div>
    </div>
    <!--warp_user end-->
  </div>
  <!--wrap  end-->
  <script type="text/javascript">
  $(function(){
    setTimeout(function(){
      $.scrollTo('#fn_box', 500);
    },500);
    $('.js_apply_btn').click(function(){
      showMsg('报名已结束');
      return;
      var name = $.trim($('.js_apply_name').val());
      var mobile = $.trim($('.js_apply_mobile').val());
      var address = $.trim($('.js_apply_address').val());

      if(name == '') {
        showMsg('姓名不能为空');
        return;
      }

      if(mobile == '') {
        showMsg('联系方式不能为空');
        return;
      }

      if(address == '') {
        showMsg('收货地址不能为空');
        return;
      }

      $('.js_apply_form').submit();
    });
  });
  </script>
  <div id="baiduTongji" style="display:none;">
  <script type="text/javascript">
    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
    document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F17afbea460bf7d7a358be0aec426984a' type='text/javascript'%3E%3C/script%3E"));

    var _hmt = _hmt || [];
    (function() {
      var hm = document.createElement("script");
      hm.src = "//hm.baidu.com/hm.js?2c100d40d01f7b5aa808e911d9777bc8";
      var s = document.getElementsByTagName("script")[0]; 
      s.parentNode.insertBefore(hm, s);
    })();
  </script>
  </div>
</body>
</html>
